package cn.sc.allinpay.allfavour.base.connect.socket.connectfactory;

/**
 * 通信参数
 * author：pany
 * on 2017/11/16 00:31
 */
public class ConnectParameter {

    private int timeout;//接收数据超时时间，秒为单位
    private String ip;
    private int port;
    private String tpdu;
    private String header;

    public int getTimeout() {
        return timeout;
    }

    public void setTimeout(int timeout) {
        this.timeout = timeout;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getTpdu() {
        return tpdu;
    }

    public void setTpdu(String tpdu) {
        this.tpdu = tpdu;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }
}
